<template>
	<div :class="customtext.modifytext?'':'customtext'" v-html="customtext.modifytext?customtext.modifytext:'自定义文本'"></div>
</template>

<script>
</script>

<style>
	.customtext {
		margin: 0 auto;
		background: #eee;
		width: 98%;
		height: 100px;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size:10px;
	}
</style>

<script>
  export default {
    // 接受父组件的值
    props: ["customtext"],
	created(){
	}
  }
</script>
